package com.mq.direct;

import java.io.Serializable;

/**
 * @author ytj
 * @date 2024/1/11
 */
public class Demo1Message implements Serializable {
    private static final long serialVersionUID = 1L;

    public static final String QUEUE_NAME = "direct.demo1";
    public static final String ExCHANGE_NAME = "direct";
    public static final String ROUTE_KEY = "demo1";

    public Demo1Message(String message, String id) {
        this.message = message;
        this.id = id;
    }

    private String message;

    private String id;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
}
